import request from '@/utils/request'

// 查询人员需求明细列表
export function listHrDemandDetailed(query) {
    return request({
        url: '/demand/hrDemandDetailed/list',
        method: 'get',
        params: query
    })
}

// 查询人员需求明细详细
export function getHrDemandDetailed(id) {
    return request({
        url: '/demand/hrDemandDetailed/' + id,
        method: 'get'
    })
}

// 保存人员需求明细
export function saveHrDemandDetailed(data) {
    return request({
        url: '/demand/hrDemandDetailed/save',
        method: 'post',
        data: data
    })
}

// 删除人员需求明细
export function delHrDemandDetailed(id) {
    return request({
        url: '/demand/hrDemandDetailed/' + id,
        method: 'delete'
    })
}

// 导出人员需求明细
export function exportHrDemandDetailed(query) {
    return request({
        url: '/demand/hrDemandDetailed/export',
        method: 'get',
        params: query
    })
}
